# to check the new user activity db

require "dbm"

begin
  db_name = "db_activity_RawStreams-ls-0-1293650345-2735.bcp"

  counter = 0
  db = DBM.open db_name
  db.each do |key, value|
  	puts key
  	puts value

  	counter = counter + 1
  	if counter > 5
  	  break
  	end
  end

rescue Exception => e
  puts e.to_s
end